package com.tql.kingdee.service;

import com.ruoyi.common.datasource.annotation.Master;
import com.tql.kingdee.mapper.TqlEmpMapper;
import com.tql.kingdee.response.EmpResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service

public class TqlEmpService {
    @Autowired
    private TqlEmpMapper tqlEmpMapper;

    @Master
    public void saveEmps(List<com.ruoyi.system.api.domain.EmpResponse> list) {

        tqlEmpMapper.batchAdd(list);

    }
}
